- Added Warning logic to MetricDetail to prevent changing EntityType of the Metric when there are MetricValues associated to another EntityType. It will show a warning and ask you to delete the MetricValues