Fixed search bar bug