Fix an issue with central-agent stat collector