Made sure the attribute is deleted before adding it back.