Fix gatherData jointTypes