Fix for multi-chunk document processing failures#FixesFixed an issue that caused some multi-chunk documents to fail during processing.