diff --git a/includes/theme.inc b/includes/theme.inc
index 5473cb937e564a6e70e990b8dc97f044e6e177c0..e55f2732fbb8e506cf6be9f7406a1b39a163af94 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1799,7 +1799,7 @@ function template_preprocess_page(&$variables) {
   // Load all region content assigned via blocks.
   foreach (array_keys($regions) as $region) {
     // Prevent left and right regions from rendering blocks when 'show_blocks' == FALSE.
-    if (!(!$variables['show_blocks'] && ($region == 'left' || $region == 'right'))) {
+    if ($variables['show_blocks'] || ($region != 'left' && $region != 'right'))) {
       $blocks = theme('blocks', $region);
     }
     else {