Bug fix in add_cooccurring_labels_constraint