Small bugfix for alerts.