Better handling for state_changed_alert