Fix allowgroup on bad group seg fault with the controller.

regression from 2a674aee50936cc80e5a96e61b883dc87b785199