Fix a regression in groups elsewhere

We were using dict access on a namedtuple.