storage: check for deleted documents when loading and compacting.