Fixed UriTemplatePrecedenceComparator.