Issue #8305 by tuj: Fixed group names for middleware connection