error checks for AllUpstreamSubids and AllDownstreamSubids