Bugfix for search page. Fixes #8