Fix how the url is generated when adding a person to a group
Fixes #167