Make sure the index exists before enabling ttl