[tor-commits] [metrics-web/master] Fix two issues found using metrics-test.