Add missing case in checkUniqueKind (fixed #1606)