Fix elasticsearch ttl_expire