Prevent double renaming.