WI-20091 Rename refactoring produces unexpected results damaging code