Minor fix to ensure that old revisions in the cache are removed as well.