don't update range name if ref not in update range, fdo#85304

Change-Id: I1ccfacd98bd10f6ae1d4eaf7a705fe8863045697
add test for fdo#85304

Change-Id: I35692a4a4ccfd1aa5938078bdf32a3eaff082453