Merge "[MM] MotionSpecBuilder resets maxLimitSemantics during last iteration" into main