Fixed a bug in the Unique Value feature.

Fixed a bug in the Unique Value feature.