Remove 'begin/rescue/end' block in check_alerts that was masking errors
Correct query call for alerts
Add styling for alerts to admin backend