Fixing invalid the metric duration value.