query filter is used instead of post-filter