Minor stats fix for python 3.