[CLC-3145] GPA Calculator does not handle failing grades correctly

https://jira.media.berkeley.edu/jira/browse/CLC-3145