IDBIndex keypath lost

Fixes #163