Handle blank grades and credits. Closes #5