Fix missing statistics of last parsed queries in incremental mode.