Minor fixes to statistics cli to reflect recent API changes. #625

13 jobs for hotfix-statistics-cli in 25 minutes and 29 seconds (queued for 7 seconds)