Make check for `searchString` optional