Minor fix in stats controller