ensureIndex called after any insert, update or remove works