Temporarily fixed ExportVariableInternal bug related to indexing of a
given ExportVariable