It looks to me like IndexSet should have some assertions added to check for out of bounds indices. Garth