Consider the following scenario:
As you can see from the listing above, other-groupId:other-artifactId-b:jar:1:compile is missing from the dependency list.
I have attached the zipped repo which was used when generating the dependency:tree listings shown above. I also attached a crude temporary patch which my team is currently using to resolve this issue. After ignoring whitespace changes, it is about 10 lines different.