Check dependencies against each other, not assign one to the other.

This bug is 7 years old!