Fix bug with ttl default not being set.