Fixed issue when using `pathVar[T](s:String)` in a route definition