Fixed a bug where the discovery script would add never integers as ip addresses