Rather try this:

Find the line (Around 42 / 43)

PHP Code:
// the following IF statement can be duplicated/modified as needed to set additional flags
  
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
    
$flag_disable_right true;
  } 
... and insert index where shown...

PHP Code:
// the following IF statement can be duplicated/modified as needed to set additional flags
  
if (in_array($current_page_base,explode(",",'index')) ) {
    
$flag_disable_right true;
  } 
Later, if you want to, you can disable right column for more pages in this way.