Fix rssdt command

With the special case of considering DTs starting in the next hours.

Also added a unit test