[MAGEMEP-114] Fixing empty array exception on Export