fixes templating error (LMS-2560)
Merge pull request #3442 from edx/adam/fix-template-error

fixes templating error (LMS-2560)