check that the alert contians an aggreagate type before processing