Fix bug where end was not actually ending up as now.
Multidocument retrieval.