Fix orc predicate