Fix issues with result format and course code param - refs BT#7288