fixing id-check for adding new and deleted adress-item