Anomaly Detector not working after upgrade