[BUG] scope "." must match the backend and not the frontend
diff --git a/src/dumpstats.c b/src/dumpstats.c
index bba8c2c..701227d 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -563,7 +563,7 @@
 					break;
 
 				/* match '.' which means 'self' proxy */
-				if (!strcmp(scope->px_id, ".") && px == s->fe)
+				if (!strcmp(scope->px_id, ".") && px == s->be)
 					break;
 				scope = scope->next;
 			}