Fix bug 903782: Gracefully handle whitespace-only searches.
Merge pull request #253 from Osmose/fix-whitespace-errors

Fix bug 903782: Gracefully handle whitespace-only searches.