While loading overwrite records with the same id.

  Should resolve bug #1750.