Sparse option added to createIndex.