Fixed small search bug