fix for issue 166 deleting an identity and trying to add again on the 2nd client is not successful