Change order of CIDR lookups