Fix bug in the representative list.