Fix error on selecting tracks without a gpx associated