Fix notification assertion