Fix (mis)matching of empty route variables in the tree match router.