Ignore trailing args in aliasByMetric(), fixes #862