don't try to remove the last series when there's only one left; fixes #265