While this is a rather fragile fix, the alternative also seems fragile. We can instead check the operator name inside `push_begin_ex` to see if the operator is transitioning into Sculpt Mode and initialize the StepData.type to a custom "Mode Change" type instead of using "None" Pull Request: https://projects.blender.org/blender/blender/pulls/124640