Fixed statistics caching.