Fix handling of new job IDs upon resubmission