Fix comparation in alert switch method
Merge pull request #104 from guardian/fix_alert_switch_method

Fix comparation in alert switch method