Added subset indexing for generating new indices that are subsets of existing indices.