Fix sampled packets with no defined epoch.

Fixes #1112 and a related regression for non-position sampled data.