Fix the eviction pass for internal pages: check the local flags: we clear the cache flags after each walk.