Add guard before deleting partial[attribute]

Makes sure that we are not deleting a property that we were meaning to set.