Fixed issue with no pages left to crawl