correct usage of method types from IndexSet.
make compile when GTV is not std::vector.