Fix bug that panics when getting group info

I'm not sure if this a Rust change or something I've introduced...