Fix a bug with multiple-inheritance clusters.

This fixes a bug where non-overlap constraints might not be generated
between some nodes and clusters if their parent cluster had multiple
overlapping clusters.