Fixed small issues with get_courses command