Fix #8104 - update nav tree by comparing changes