Utilize the version number in the dependency.
Looks like you have "ge <blank>" which just tests for existence.
Make it "ge 1.23" (or whatever the version is).
Also note that it's not recursive (or depth first depending on your perspective), it just checks the version requirement and if met, moves to the next dependency. Doesn't matter if something in one of the subordinate packages might have a need to be updated too.
So, if you have a super package that has a dependency of a custom CDM package and that package is dependant on the CDM probe and you update the CDM probe, the super package won't install the new CDM probe. you need to increment the versions and dependencies in the whole hierarchy.
Wish there was some automation there, or a simple check on modification date but there's not.