Fix bug in statistics rest interface