Added a filter to WHERE clause in send_malert function
Only stations with active='t' will be sent in alert messages