Fixed failures in groups controller.