Fix regression causing extensive resource consumption on track/route load.