fix for GCOD-681 - search page broken when search results are empty