fix https://github.com/edx/edx-platform/pull/2566

fix https://github.com/edx/edx-platform/pull/2566