Check for predicate equality first.