[TECH SUPPORT] LPS-46289

Hey Brian,

This fix is however coded by me, the issue is reported by a customer and it's coming from the support originally (@arbetts)

I've coded a test case for the fix as well. Esentially we are keeping this _references up to date during the export process.

Thanks,

Máté