changes to worker job alerting

fix #150 
maybe add one more condition here, such as && lastJob.Completed is not null or sth like that. For jobs that are not in completed or executed state.