Fix bug with invite showing/not showing refs #87 issue 4