Harden the router for edge cases: duplicated :id in the same route or across equivalent TRIE nodes