Fixes #8 (Cardinality in attributes)