Fix issue with empty filters.