MDL-35851 Lesson module: fix page order id for import questions.
Add upgrade script to fix lesson pages corrupted links