IF fix

If statements work with nil operators and have slightly optimized use of
CMP instructions based on clarity filters.