Auto-search ignores invalid keys.
Merge pull request #109 from pheonix7117/feature/autosearch

Auto-search ignores invalid keys.