Fix removing alerts.