added more protection for when people try to delete partnered items with related foreignkey stuff