Fix group errors

Fixes two major 500 errors, one of which was crashing the AC server.