Fix bug causing Invite to fail.