Issue 4078: Fix orphaning not expiring caches

Issue 4078: Fix orphaning not expiring caches

https://code.google.com/p/otwarchive/issues/detail?id=4078