Added predicates query.