Fix logging bug when two addresses to the same host list go to different