Fixed bug where invitations were crashing the sign-up process