Minor error in stats generation.