CNS-739: "Unexpected error, ID: 293173" is shown when trying to edit the Course Details

Fix problem introduced on previous commit, causing the course publish
feature to stopped working