Consolidate general search filter into search util