added guarding around getting nested object properties, fixes sentry issue #2350
added guarding around getting nested object properties, fixes sentry issue #2350

uktrade/data-hub-frontend,uktrade/data-hub-frontend,uktrade/data-hub-fe-beta2,uktrade/data-hub-frontend,uktrade/data-hub-fe-beta2