MDL-46308 qformat_xml: fix import of broken calculated questions.

Questions like this should not exist, of course. But they do, so we
should avoid generating errors in this case.