search fix on if nothing in URL

search fix on if nothing in URL