Minor fix for getting MetricsType in Metrics object