Replace 'x == 0' if conditions with '!x'.