ensureIndex init works right after a database load
Can also use ensureIndex after some inserts (so also works aftre updates and removes)
Merge branch 'master' of github.com:louischatriot/nedb