State.java modifed to request aggregate statistics after including out group and table id correctly.