Fix a compile error with predicates