MDL-51855 mod_question: fix offset error during upgrade