Fixes copy-replace for 1.1->1.2 upgrade.