Merging documents behavior

See Feature Request: Improved Merge