Serialize multiple predicates correctly