Really fix bug in ajax invite. Really this time.