Add InvalidSearchQuery exception for malformed searches.