Also, if I'm understanding this correctly, this is 'fixing' incorrectly cased filter names coming from the server.  Presumably these are ultimately coming from the admin UI where filters are configured.  Would it be better to do this conversion there (i.e. so that as soon as a user enters a filter name, it is converted)?