Group membership uid fun

Fix for #35.