fixed problem with selecting node cluster by looking up their index in node array