New improvement on query statistics (by Chan)