Animation Not Importing Properly

Animation is mirrored in Maya using this [jpose script][1]

The mirrored animation works fine in maya and Unity but when importing into UE4 all the bones seem to be rotated incorrectly:

Note: Original animation (before mirroring) works perfectly in UE4 on the SK_Mannequin