made the transform robust so that a granule does not easily crash it if the granule is not what is expected
Merge branch 'fix_oms2_demo_alert_crash' into add_notification_for_different_user