IPv4 lookup bug fix