Fix issue where jobs that exceed resubmission limit would infinitely send error reports.