Fix for multi-segment GPX files