Added a search string verification