Invalid steps origin status summary when using conditionals

Current situation

If using conditionals, the steps origin status summary is incorrect (it takes into account non-executed steps).

Desired outcome

Correct data in step_origin_status