Fix search command filter