fixed steps being incorrectly marked as skipped when resetting the flow