A nicer hack for search filter