Properly handle local deletions after re-indexing (fixes #80)