Fix bad path in index.js. Support multi-valued secondary indexes.