Queryfilters refactoring. Support for null values in filters.