Fixed the ordering of parent classes in DomainInvitation