The end bus number for the test is the least of end bus value in ACPI and bus value in max BDF in the ACS BDF table. The test then checks from "end bus + 1"
But if devices are skipped, accessing the "end bus + 1" will be a valid entry.
Added logic to instead obtain the maximum subordinate bus number of the segment from the RP BDF's.