FIX Stats to prevent multiple calls to puppetdb