_Document : bug fix in `applyDeltas`