Accommodate students taking classes pass-fail

Code to accommodate situations where no grades have been entered for a
term.