Fix route regression introduced in ff0f7cc40aed752580c0483ed9083ed1727e7b5b per #514