Fix infinite loop in ObjectItem setattr.