graph: ensure that uses always have same groups