Removing bug in formatFiltersAndParameters