Reported by @wmysterio.
Currently the compiler only checks for opcode 004d as a condition terminator. But potentially there are more opcodes:
004c: jump_if_true
0AA1: return_if_false
0AA0: gosub_if_false @label
need a custom datatype in opcode definitions to recognize branching opcodes.