fixed issues where latest backref would pick the wrong value when the leaf value was changed.