Fix error if a buf is changed right before it gets deleted.