Fixed bug when joining a course when none have been created