BLD-530: Fix 500 error in transcripts.
Merge pull request #1739 from edx/alex/fix-transcripts-500-error

Fix 500 error in transcripts.