First pass for secondary indexes