Additional query filter check