Bug fix in DupuyConstraintMixin