Dev: Fixed PluginMetrics collecting incorrect data