Allow 0 and 1 to be used as bools in predicates