[BZ-1070092] fix NPE caused by a left update and a right insert when a JoinNode is shared