gpx file commit and small tweak to query