Fix searchbar detection