Mailbox bug

In the game im making, when you pick up the wand, go down, kill the flies, then pick up the red orb, the wand is supposed to upgrade into a red wand, but instead, it just gets destroyed and nothing happens

http://flowlab.io/game/view/202920