Change queries to filters.