Fixed small bug in ListMetrics