You should rename records before merging.