PCT-506 Fixed lost sample

I don't think this is correct because what is the value of `s.prevTs` at this point?