Fix unknown attribute 'notification_type_filter'.

Fixes #5887