Fix code generation for comparisons

Fixes (at least) Simon_114.mj
Merge pull request #234 from jspam/081-codegen-comparison

Fix code generation for comparisons