Fix exception for Notification objects without checkable object.

Fixes #6111