Fix multiple matching when using wildcards with subroutes. See issue #1.