The wrong address is added to the collection. As was written a second copy of address1 was added (and so address2 was useless).