Add support for getIndexes with a single index