Add handling for arrays in unique values, refs #23