Keep the first record when do sampling to avoid no records are
selected when sample interval is large.