Duplicates created in incorrect merge deleted