Fix for Iterator on getAllDocumentsByKey() where resultant collection is empty