Fix infinite reloading error when no results are found

Results page is stuck in permanent reload when no results are returned by BLAST.
This PR just checks if is there any results before trying to use them.