Fixed error in ExportOOR

Fixed an error in ExportOOR that prevented it from working