Better logic for CLEAR alert type