This is to correspond to the same fix in the edx platform. https://github.com/edx/edx-platform/pull/1827