Fixing bug in ArrayExporter