minor search bug fix