diff --git a/theme/views_data_export.theme.inc b/theme/views_data_export.theme.inc
index 1a4f7d3..c6ea41c 100644
--- a/theme/views_data_export.theme.inc
+++ b/theme/views_data_export.theme.inc
@@ -468,7 +468,7 @@ function _views_data_export_body_shared_preprocess(&$vars) {
 
   $vars['themed_rows'] = array();
   $keys = array_keys($fields);
-  foreach ($rows as $num => $row) {
+  foreach ($rows['rows'] as $num => $row) {
     $vars['themed_rows'][$num] = array();
 
     foreach ($keys as $id) {
