When several instances modify a document at the same time we need to merge them and then "repair" the history on all instances.