Minor fix to stats service.