Fix logical thinko in host comparison