Fixing issue in InviteController where an invalid invitation token would throw a fatal error because the InviteAcceptedEvent cannot be construcucted without a valid Invitation