clean up _process_aggregate_alerts