fix(notification): avoids fatal error if notification event lacks object

Fixes #7157