--- notifications_files/notifications_files.module	2010-05-10 18:30:40.000000000 +0000
+++ notifications_files/notifications_filesNew.module	2010-07-14 23:09:15.000000000 +0000
@@ -213,6 +213,7 @@ function notifications_files_load_files(
   if ($fids) {
     $result = db_query('SELECT * FROM {files} WHERE fid IN (' . db_placeholders($fids) . ')', $fids);
     while ($file = db_fetch_object($result)) {
+      $file->list = 1;
       $files[$file->fid] = $file;
     }
   }
@@ -231,7 +232,9 @@ function notifications_files_node_fids($
   // Core upload files
   if (!empty($node->files)) {
     foreach ($node->files as $fid => $file) {
-      $fids[$fid] = $fid;
+      if ($file['list'] == 1) {
+        $fids[$fid] = $fid;
+      }
     }
   }
   // Filefield files
@@ -239,7 +242,9 @@ function notifications_files_node_fids($
     $field_files = filefield_get_node_files($node);
     if ($field_files) {
       foreach ($field_files as $fid => $file) {
-        $fids[$fid] = $fid;
+        if ($file['list'] == 1) {
+          $fids[$fid] = $fid;
+        }
       }
     }
   }
