Fixed bug when deleting documents