All course point distances in Garmin Edge 1040 are set to zero. FW version 16.13.
It seams to be a CIQ bug (previously, when the GPX was imported to CIQ and the exported as GPX, it had the same order of the course points; now the course point order...