fix ExtractOpenRAVETrajectoryFromProfiles resulting degree