fix bug with not duplicating MIGXdb - records