diff --git a/modules/block/block.admin.inc b/modules/block/block.admin.inc
index 17f854f29657d811cf6a45b810ef86316fb20c45..a8f515d031eb993e26349496b560c79100e3f754 100644
--- a/modules/block/block.admin.inc
+++ b/modules/block/block.admin.inc
@@ -38,7 +38,7 @@ function block_admin_display_form(&$form_state, $blocks, $theme = NULL) {
 
   // Build the form tree.
   $form = array(
-    '#action' => arg(3) ? url('admin/build/block/list/' . $theme_key) : url('admin/build/block'),
+    '#action' => arg(4) ? url('admin/build/block/list/' . $theme_key) : url('admin/build/block'),
     '#tree' => TRUE,
   );