Fix group member badge claiming

Fixes #587.