diff --git a/views/similar_handler_argument_nid.inc b/views/similar_handler_argument_nid.inc
index 0c055e1..0e4d570 100755
--- a/views/similar_handler_argument_nid.inc
+++ b/views/similar_handler_argument_nid.inc
@@ -62,30 +62,30 @@ class similar_handler_argument_nid extends views_handler_argument_numeric {
       '#type' => 'fieldset',
       '#title' => t('FULLTEXT search options'),
     );
-
-    // Add fields for increasing or decreasing relevance of destination ndoe fields.
-    $relevance_options = array(
-        '0' => '0%',
-        '0.1' => '10%',
-        '0.2' => '20%',
-        '0.3' => '30%',
-        '0.4' => '40%',
-        '0.5' => '50%',
-        '0.6' => '60%',
-        '0.7' => '70%',
-        '0.8' => '80%',
-        '0.9' => '90%',
-        '1.0' => '100%',
-        '1.1' => '110%',
-        '1.2' => '120%',
-        '1.3' => '130%',
-        '1.4' => '140%',
-        '1.5' => '150%',
-        '1.6' => '160%',
-        '1.7' => '170%',
-        '1.8' => '180%',
-        '1.9' => '190%',
-        '2.0' => '200%',
+
+    // Add fields for increasing or decreasing relevance of destination ndoe fields.
+    $relevance_options = array(
+        '0' => '0%',
+        '0.1' => '10%',
+        '0.2' => '20%',
+        '0.3' => '30%',
+        '0.4' => '40%',
+        '0.5' => '50%',
+        '0.6' => '60%',
+        '0.7' => '70%',
+        '0.8' => '80%',
+        '0.9' => '90%',
+        '1.0' => '100%',
+        '1.1' => '110%',
+        '1.2' => '120%',
+        '1.3' => '130%',
+        '1.4' => '140%',
+        '1.5' => '150%',
+        '1.6' => '160%',
+        '1.7' => '170%',
+        '1.8' => '180%',
+        '1.9' => '190%',
+        '2.0' => '200%',
     );
     $form['adjust_relevance'] = array(
       '#type' => 'checkbox',
@@ -243,18 +243,18 @@ class similar_handler_argument_nid extends views_handler_argument_numeric {
     $this->view->nids = $this->value;
     return TRUE;
   }
-  
-  /**
-   * Override the behavior of title(). Get the title of the node.
-   */
-  function title_query() {
-    $titles = array();
-  
-    $result = db_query("SELECT n.title FROM {node} n WHERE n.nid IN (:nids)", array(':nids' => $this->value));
-    foreach ($result as $term) {
-      $titles[] = check_plain($term->title);
-    }
-    return $titles;
+
+  /**
+   * Override the behavior of title(). Get the title of the node.
+   */
+  function title_query() {
+    $titles = array();
+
+    $result = db_query("SELECT n.title FROM {node} n WHERE n.nid IN (:nids)", array(':nids' => $this->value));
+    foreach ($result as $term) {
+      $titles[] = check_plain($term->title);
+    }
+    return $titles;
   }
 
   /**
@@ -268,7 +268,7 @@ class similar_handler_argument_nid extends views_handler_argument_numeric {
     // and populate the $text variable with node titles and bodies.
     foreach ($this->value as $nid) {
       $node = node_load($nid);
-      if (isset($node->title) && isset($node->body) && isset($node->body[$node->language])) {
+      if (isset($node->title)) {
         // Remove punctuation from the title.
         $title = preg_replace('/[^a-z0-9 _-]+/i', '', $node->title);
 
@@ -276,10 +276,13 @@ class similar_handler_argument_nid extends views_handler_argument_numeric {
         if ($boolean && !empty($this->options['source_relevance']) && isset($this->options['title_operator'])) {
           $title = $this->alter_node_title($title);
         }
+        $text .= " $title";
+      }
 
-        // Strip tags and add slashes only to the body before adding the title.
-        $body = trim(addslashes(strip_tags($node->body[$node->language][0]['value'])));
-        $text .= " $title $body";
+      if(isset($node->body) && isset($node->body[$node->language])){
+        // Strip tags and add slashes only to the body before adding the title.
+        $body = trim(addslashes(strip_tags($node->body[$node->language][0]['value'])));
+        $text .= " $body";
       }
     }
 
@@ -294,7 +297,7 @@ class similar_handler_argument_nid extends views_handler_argument_numeric {
     $this->ensure_my_table();
 
     $query = $boolean ? $this->similar_build_query($text, 'IN BOOLEAN MODE') : $this->similar_build_query($text);
-    
+
     // An empty string is passed for the table to bypass the table alias.
     $this->query->add_field('', $query, 'score');
 
@@ -376,21 +379,21 @@ class similar_handler_argument_nid extends views_handler_argument_numeric {
    * @see similar_handler_argument_nid::query()
    */
   private function alter_node_title($title) {
-    switch ($this->options['title_operator']) {
+    switch ($this->options['title_operator']) {
       case 'increase':
-        return '>'. implode(' >', explode(' ', $title));
+        return '>'. implode(' >', explode(' ', $title));
       case 'decrease':
-        return '<'. implode(' <', explode(' ', $title));
+        return '<'. implode(' <', explode(' ', $title));
       case 'require_all':
-        return '+'. implode(' +', explode(' ', $title));
+        return '+'. implode(' +', explode(' ', $title));
       case 'require_some':
-        return "+($title)";
+        return "+($title)";
       case 'require_complete':
-        return '"'. $title .'"';
+        return '"'. $title .'"';
       case 'exclude_all':
-        return '-'. implode(' -', explode(' ', $title));
+        return '-'. implode(' -', explode(' ', $title));
       case 'exclude_some':
-        return "-($title)";
+        return "-($title)";
       case 'exclude_complete':
         return '-("'. $title .'")';
       default:
@@ -402,15 +405,15 @@ class similar_handler_argument_nid extends views_handler_argument_numeric {
    * Returns an array of fields that have been indexed by Similar Entries.
    */
   private static function get_field_options() {
-    $field_options = array();
-    $indices = similar_get_indices();
-    foreach (field_info_fields() as $field => $info) {
-      if ($info['type'] == 'text') {
-        $table = key($info['storage']['details']['sql'][FIELD_LOAD_CURRENT]);
-        if (isset($indices[$table])) {
-          $field_options[$table] = $field;
-        }
-      }
+    $field_options = array();
+    $indices = similar_get_indices();
+    foreach (field_info_fields() as $field => $info) {
+      if ($info['type'] == 'text') {
+        $table = key($info['storage']['details']['sql'][FIELD_LOAD_CURRENT]);
+        if (isset($indices[$table])) {
+          $field_options[$table] = $field;
+        }
+      }
     }
     return $field_options;
   }
