You should check that some results are found, otherwise it should never stop