changed theSearchQueryIsProper to searchQueryIsProper