check task field more finely
Merge pull request #5422 from ticoann/ignore_failed_job_missing_record

check task field more finely