vtkExtractSelection with empty vtkSelection uninformative error message

I am using VTK 9.1 from Ubuntu 24.04, but it seems that the current vtk already has a fix for this, which checks the number of nodes. I suppose using the current vtk should solve this issue.
Thanks !