Fix alerts not working because of previous commit