Added detailed warning about duplicate keys