For ENG-4883, handle duplicate rows during safe restore when loading/con...

...verting replicated data