Search bar bug fix