Fixed predicate methods section

Moved the if x == 0 up into the bad section.