Fix specs

and other tweaks for course invitations