CORE-5070: a first pass at purging index entries for non-existent files and folders