Prevent search with blank query.

- Closes #50.