COMP Changed selection method of vertices.
In case the counter contained only one vertex this vertex was always selected.