Correctly handles pass/fail courses