Fix for Metrics configuration overwriting.