Fixed bug when adding a contact multiple times