Threshold point ID

You can use the Generate Ids filter to create a field with Id values that does not change when the geometry changes.

See also: Extract surface and keep numbering - #2 by Kenneth_Moreland