Fixes an issue with replacing a word register when replacee is constant