MDL-38429 Lesson Module: improve lesson code by reseting NULL value to use lowercase.