MDL-34050 Lesson Module: improved matching question logic for checking user response.  This patch will also resolved MDL-36343.