Fixed PHP notice when a group doesn't have any permissions.