queryFilter instead of query for polymorphic