Fixed searchbar string handling