Fixed the relationship error when we remove a target box and then we add another target box but using the same source endpoint.