Duplicate list removed by HashMap