Fixed a bug where InstanceId wasn't being properly included when using the MetricAggregator