script to deal with deletions in 'docs' collection