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

This bug is 7 years old!
CS
Merge pull request #2 from isaacgrant/equality-not-assignment

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