nodeAssignment works with node property columns. Also fixed the
assignment of nodes to groups so that if there are several nodes with
the same value, they remain in the same group.