Various fixes on DecayingSample

* Fix out of bound lookup when priority collides
* Fix time unit of the rescaling interval