Fix Membership.__repr__ for not yet commited objects