Fixed transport to_rands bug