update replay function to ignore batches without aggregation when determining the id batch to process
update replay function to ignore batches without aggregation when
determining the id batch to process

the4thdoctor/pg_chameleon,the4thdoctor/pg_chameleon