Fix relationship delete