fixed error in send info

fixed case when no nodes selected or first selected node isn't
instanceof Host.
we need to know from which host to send message