Fixed bug introduced when hitting search page without filters causing server to crash