--- block.module_old	2006-05-09 18:56:06.937500000 -0700
+++ block.module	2006-05-09 20:31:00.000000000 -0700
@@ -143,7 +143,9 @@
 
   init_theme();
 
-  $result = db_query("SELECT * FROM {blocks} WHERE theme = '%s'", $theme_key);
+//  $result = db_query("SELECT * FROM {blocks} WHERE theme = '%s'", $theme_key);
+/* Attempt to modify so that blocks don't disappear */ 
+  $result = db_query("SELECT * FROM {blocks} WHERE theme = '%s' AND status = 1", $theme_key);
   while ($old_block = db_fetch_object($result)) {
     $old_blocks[$old_block->module][$old_block->delta] = $old_block;
   }
