Fix group errors

Fixes two major 500 errors, one of which was crashing the AC server.
Oh, you are correct! Good catch. I'll fix this in the next PR.