Additional fix to courseEnding ex