Fixed up table stats errors