Also need to check if `continueOnFailureStepType` is null here, otherwise we can get an NRE.