fixes #181 - convert host value to number before comparing integer
fields