[WIP] Implement support for secondary index reads

You can use a for loop here as well.