Fix some bugs when an host does not have any OS or Port detected