Bug fix in DupuyConstraintMixin in case similarity is not available