Minor fixes to removeFilter and hasFilter that are congruent with the changes in filterHandler.  filters may be dates, thus indexOf will not work.