Fix issues with copy and rename not refreshing the parent.