[ALLI-2296] Fixed scheduled alerts to switch configurations properly.