Support for emptying the values of a group when the 'x' is pressed on the last occurence of a group. Also resetting the to non-expanded state if min and pref cardinality is unspecified or 0.