Cleanup code to explicitly mark we stop the loop after the first job.
The code only set "done = true" in a conditional when the m_documents
hash was non-empty. But if that is the case then by definition we have
to be done anyways. Assert on that now.