Fix for alerts that are hidden counting towards the badge count