Fixed a bug in alert_handler.py to use correct filter when auto_previous_resolve. This resolves #2