Bug fix.  Improved stats processing.