You should call delete for sub-managers only in deleteItems(). Otherwise, the records will be deleted twice