[tor-commits] [tor/master] Fix bug19483: avoid range checks when they are always true