Use correct vars for IPv6 when checking subnet start and end