Fixed iprange creation issue.