Fix #188: In case of a race, prefer the item already in the cache.
2 files changed