Add query filters and result filters