Different time records for IPFIX exports.

Also templating optimization and fix of combination of natevents
with sampling.