Issue #2250081 by Gold,brice_gato: Fix PostgreSQL failure updating node statistics on comments