Fix issue with stats.

Fix crashing issue with stats. Format is out of date due to new version, but at least it runs now.