Merge properly the multiple edits command