Fix prevent loops on notification_schedule