Commit in IndexSizeManager only after all patients are deleted