You leaped ahead a bit in the problem description. Is the top-level problem that -activeRevisionsForDocumentId: isn't returning the document bodies because -getAllRevisionsOfDocumentId: doesn't load them from the database?