Fixed issue #9231: Error when exporting survey archive