Adding a check for having alerts that doesn't clear alerts