Fixed some stats bugs.