Fixed if only one group exists will crash himself in Route.