Fixed a bug re-building parent structures of immutable Tree on
modification of nodes.