Fixed bug when never reading from cache.
Merge pull request #27 from teyrow/master

Fixed bug when never reading from cache.