Fix check deleting the default team