Clear the affected range in an automation editor before pasting.