Fixed "wrong invite code" message showing up even though there was no code entered