Fix to temporary hack that avoided clearing routes