Fix grade released code in StudentData

Fixes #384