Made nsec handling bit more lazy; two results - we don't change the data structure while iterating through them, and hopefully bit less churn in data structures in general.
Removed some redundant assertions, and using right ttl figure for valid time calculation.