Properly display duplicate keys