Fixed bug with ip validation for values such as 000 and 010