Fix bug in linking new person into family relations. And better api response when deleting a person