Fix disconnect when there was 0 search results