Fix logical error in Attribute. Whoops :)