NMS-5584 fix handling of IP addresses with zone indeces