delete relationships before deleting the feed reference