batch use of 'in' predicate for query filter