Fix bugs in the host history code
Fix bugs in the host history code

april/http-observatory,mozilla/http-observatory,mozilla/http-observatory,april/http-observatory,april/http-observatory,mozilla/http-observatory