Fix type in predicate