After undeleteAll the reader does not have deletions any longer. So hasDeletions has to become false.