Fix, document and test check_multilabel_type