Fix issue with step accounting if a job is requeued.