Fixed InvalidKeyError in course handler in studio.
LMS-11141
Merge pull request #5022 from edx/waheed/lms11141-fix-invalid-key-error-in-course-handler

Fixed InvalidKeyError in course handler in studio.