Fixed bug when never reading from cache.