fixed routing on failing tasks and nested tasks spec