Fix for resetFilters function