Fix crash when automatic reminders is enabled and a warning is shown