LUN-1173: fixed most of the operations that generated
tree corruptions