It's the item Long Bow (which is one handed) in my CMS and it's tripped when you have it in your inventory. The problem is...when I pick to equip it with Novice Arrows, the item Novice Arrows (which is a shield class item) disappears from my inventory, and another weapon of the same type I started with (the default Iron Sword) is added to my inventory...and I still have an iron sword equipped. Hmm. Can you see what's wrong?
By the way, everything after [Nevermind; Unequip bow] is just an ending to the above branch conditions; no coding.