[sr-dev] git:master: tm: safety checks inside t_next_contacts()