ENH/BUG: Correctly display unique/repeated values

Fixes #541