Index: notify.module
===================================================================
--- notify.module	(revision 8092)
+++ notify.module	(revision 8131)
@@ -540,20 +540,24 @@
       if ($user->comment && user_access('access comments') && count($comments)) {
         $total_comment_count = 0;
         foreach ($comments as $nid => $comment) {
-          // If we don't already have the node, fetch it.
+          // If we don't already have the node, fetch it. We need to load up
+          // a new object, and not mess with the total length of $nodes.
           if (!isset($nodes[$nid])) {
-            $nodes[$nid] = node_load($nid);
+            $node = node_load($nid);
           }
+          else {
+            $node = $node[$nid];
+          }
 
           // Don't show comments if we're not allowed to view this node.
-          if (!node_access('view', $nodes[$nid])) {
+          if (!node_access('view', $node)) {
             continue;
           }
 
           if ($comment_body) {
             $comment_body .= $mini_separator ."\n\n";
           }
-          $comment_body .= t('!count attached to !type posted by !author: !title', array('!count' => format_plural(count($comment), '1 new comment', '@count new comments'), '!title' => $nodes[$nid]->title, '!type' => node_get_types('name', $nodes[$nid]), '!author' => $nodes[$nid]->name ? $nodes[$nid]->name : variable_get('anonymous', 'Anonymous'))) ."\n";
+          $comment_body .= t('!count attached to !type posted by !author: !title', array('!count' => format_plural(count($comment), '1 new comment', '@count new comments'), '!title' => $node->title, '!type' => node_get_types('name', $node), '!author' => $node->name ? $node->name : variable_get('anonymous', 'Anonymous'))) ."\n";
 
           $comment_count = 0;
             foreach ($comment as $c) {
