The tree will be only rebuild if a record with the default value of left or right fields exists. issue5118 review16921002