Fix relative TTL calculation