Detecting multiple anomalies