Fixed issue #7942: Error when copying questions with subquestions and using MSSQL