Eric minor bug fixes

minor bug fixes in search filter js