_get_ip_flow_range: fix bug with single IP ranges