MDL-40987, sorting out the error messages on quiz summary page and questionbank