Why is the rotation of these bones corrupted?

So I export from Blender to UE4 and at any animation for this model the rotation of the lower arm bones and the hand bones is wrong.
The weird thing is the hands are correctly in place.
All transforms are applied, the bone rolls are on 0, rotation on Euler XYZ.
I already imported this model before and it had no complications, this is a second import in the same project file but a different folder for testing purposes and now the animations are all messed up.
Any ideas what could cause this?