Fix T126

Summary: Fixes T126

Test Plan: View an assignment as a student

Reviewers: adaedra, ezveus

Reviewed By: ezveus

Subscribers: ivanov_d, chayne_f

Maniphest Tasks: T126

Differential Revision: https://phabricator.adaedra.eu/D63