Invite key is not nullable though:
And this is iterating through model.invites:
I had a look at the code and I am not sure where partially populated code can come from, even when I added a 400ms delay on the network here I can not repro.
I think we need some sort of repro here prior to patching, that patch ends up letting people copy a broken invite link.