Fix StatisticsController.