Fixed a bug witht he aggregated stats not working