[tor-commits] [collector/master] Implements changes discussed in #19720 comment 9 and below.