Using humanoid Avatar results in weird elbow rotation in animation

When I import my animation from Maya to Unity and use a “Generic” animation type with no Avatar, my animation looks normal and as expected. When I switch this to “Humanoid” and assign an Avatar, both of the character’s elbows rotate into weird/crazy positions, twisting more than 360 degrees during the animation.

Why does this happen and how do I fix it? It only happens with a couple of my animations and only for a small number of frames within those animations.

Screenshot 2024-08-09 125147
Screenshot 2024-08-09 125209

Apparently this is only an issue in the preview window when clicking on an animation clip. When in scene view or game view, the animation works as expected. This appears to be some bug related to a Unity Avatar and previewing it in the preview window.

Are there any additional bones between the bones bound in the Humanoid?

No, they are all direct children of each other