Pretty sure Richard is right. They were valid codes.

Notice I put a "Pause 1000" into all the conditions that previously didn't have code - this line of code appears to stop this weird behavior from occurring