diff --git a/views/secondary.py b/views/secondary.py
index 3e2b1b2344223b8d8248561214d26641d985485d_dmlld3Mvc2Vjb25kYXJ5LnB5..284b84620da5902ffafab60be6d2d11b22b747ef_dmlld3Mvc2Vjb25kYXJ5LnB5 100644
--- a/views/secondary.py
+++ b/views/secondary.py
@@ -233,7 +233,7 @@
         reldata = []
         w = reldata.append
         if 'comments' in self._cw.vreg.schema and 'BlogEntry' in self._cw.vreg.schema.rschema('comments').objects():
-            count = self.req.execute('Any COUNT(C) WHERE C comments B, B eid %(x)s',
+            count = self._cw.execute('Any COUNT(C) WHERE C comments B, B eid %(x)s',
                                      {'x': entity.eid}, 'x')[0][0]
             if count:
                 url = xml_escape(entity.absolute_url())