Solved 3D camera facing opposite way

Greetings,

I tracked 5 different planes in a semi-difficult shot and successfully solved the 3D camera with 95% accuracy. The layers were organized by Z-index/depth as supposed to. When I exported the data to After Effects, however, the camera appears to be in front of all the tracked items, facing the opposite way (towards nothing). Why did this happen and is there any way I can fix it?

 

Thank you

P.S. Mocha 5.2, AE plugin.