Index: /branches/release-35/lib/MT/Entry.pm
===================================================================
--- /branches/release-35/lib/MT/Entry.pm (revision 1856)
+++ /branches/release-35/lib/MT/Entry.pm (revision 1920)
@@ -364,6 +364,8 @@
         my $entry   = MT::Entry->load( $comment->entry_id )
             or return;
-        $entry->comment_count( $entry->comment_count - 1 );
-        $entry->save;
+        if ($comment->visible) {
+            $entry->comment_count( $entry->comment_count - 1 );
+            $entry->save;
+        }
     }
 );
@@ -409,5 +411,5 @@
         require MT::Trackback;
         if ( my $tb = MT::Trackback->load( $ping->tb_id ) ) {
-            if ( $tb->entry_id ) {
+            if ( $tb->entry_id && $ping->visible ) {
                 my $entry = MT::Entry->load( $tb->entry_id )
                     or return;
