Corrected bug about alerts.

Previously, status was being output as alerts.