Fix retrieval of secondary indexes. Requires up-to-date mym