Fixed a bug when nothing is entered in the free text field and the second search result page is loaded. Until now that would throw an error.