diff --git a/panopoly_magic.module b/panopoly_magic.module
index 00265c4..08f1cb4 100644
--- a/panopoly_magic.module
+++ b/panopoly_magic.module
@@ -752,33 +752,33 @@ function panopoly_magic_form_views_content_views_panes_content_type_edit_form_al
         'table' => t('Table'),
       ),
     );
+  }
 
-    // Add header column options for table views.
-    $form['display_settings']['header_type'] = array(
-      '#type' => 'select',
-      '#title' => t('Column Header'),
-      '#options' => array(
-        'none' => t('None'),
-        'titles' => t('Titles'),
-      ),
-      '#default_value' => !empty($conf['header_type']) ? $conf['header_type'] : 'none',
-      '#states' => array(
-        'visible' => array(
-          ':input[name="view_settings"]' => array('value' => 'table'),
-        ),
+  // Add header column options for table views.
+  $form['display_settings']['header_type'] = array(
+    '#type' => 'select',
+    '#title' => t('Column Header'),
+    '#options' => array(
+      'none' => t('None'),
+      'titles' => t('Titles'),
+    ),
+    '#default_value' => !empty($conf['header_type']) ? $conf['header_type'] : 'none',
+    '#states' => array(
+      'visible' => array(
+        ':input[name="view_settings"]' => array('value' => 'table'),
       ),
-      '#weight' => 11,
-    );
+    ),
+    '#weight' => 11,
+  );
 
-    // Update the field overrides to be dependent on the view settings selection.
-    $form['fields_override']['#states'] = array(
-      // The inverted logic here isn't optimal, and in the future may be better achieved via OR'd conditions.
-      // @link http://drupal.org/node/735528 @endlink
-      'invisible' => array(
-        ':input[name="view_settings"]' => array('value' => 'rendered_entity'),
-      ),
-    );
-  }
+  // Update the field overrides to be dependent on the view settings selection.
+  $form['fields_override']['#states'] = array(
+    // The inverted logic here isn't optimal, and in the future may be better achieved via OR'd conditions.
+    // @link http://drupal.org/node/735528 @endlink
+    'invisible' => array(
+      ':input[name="view_settings"]' => array('value' => 'rendered_entity'),
+    ),
+  );
 
   // Get view modes for entity
   $view_modes = panopoly_magic_view_mode_options(panopoly_magic_get_entity_type($form_state['view']));
