Fix wraparound bug in GetValAtRelative

Make it handle values > 60. With unit tests!
Fixing reset of the upcoming second.

That had dropped out of the block somewhere along the line.