Fix filter search bug