was dropping off the last key when inviting a user by email.