Shaky animation when imported with link constraints in 3ds max

I have a character rig with a weapon on right hand.
The weapon bone is linked to right hand, so right hand is a parent of the weapon bone.

Then I made an animation with that rig, which the character switches hand to wave to other player. Weapon goes from right hand to left hand. The character waves with right hand.

I used link constraint to switch hand. Animation looks fine in 3ds max viewport. No Shakes or trembling.

But when imported, the weapon trembles along. His right hand waves, then the weapon on left hand goes shaky.

It seems like my computer is trying to calculate relative position and rotation of the weapon from the parent bone(right hand), but fails. I wonder if there’s option for the weapon bone to ignore parents bone and recalculate position with root, or bake to roots.

Sadly the hierarchy is set so I cannot change. Anyone found this problem too?