Fix a bug with the groups page