[tor-commits] [tor/master] Fix binary search on lists of 0 or 1 element.