Remove deprecated use of ensureIndex, use createIndex instead