Get Index names using .getName() rather than .name.