Leave TODO for DocumentRepository::find() edge case (see #768)