Fix bug in LRUCache that led to issue #393
(#365)