Minor fixes to READ+REPLACE and rename-detection provisioning code.