Animation Studio animation rotation working unintendedly

When I try and animate some of my weapon models using animation studio they spin in unintended directions.

It only happens on some models. Does anyone know why this happens?