fix ContainSubstrings to properly handle the negative case
Change GetBrokersWithDependencies to GetAllBrokersWithDependencies