Only check distinct set of jobs per alert. Ref T50588

Some alerts are set up with job ids and aliases that resolve to the same
job, resulting in checking the alert against a list containing duplicate
jobs. Aside from being wasteful, that causes duplicate key exception 
when building error message map because job ids are used as the key.