Fix bug injected into FileIngestTaskScheduler.getNextTask()