Parser: fix host up/down check.