Fix divide-by-zero error

Silly case when a search returns no results. Minimal visual impact, but reduces error_log volume and cuts out the largest error reported in New Relic.
Merge pull request #53 from superawesome/patch-3

Fix divide-by-zero error