Correctly handle empty search results. Fixes #5

Enough said.