Fix incorrect GPX parsing