Fix or MAGN-4059 with hardening for release builds and a data request trap for debug

I can't repro the case that is causing this nested data to be empty, so I've added a trap that detects it and requests more data on debug builds, and on release builds hardens the behaviour