@ Robert98
Without the drawing I would have to guess, but I think that for these points the text is further away so that a portion of the text falls outside the WP selection.
You could try two thing:
Make the tolerance that you use (currently 0.1) bigger.
Use (ssget "CP" ...) instead of (ssget "WP" ...).
If that doesn't work then please post the drawing.
BTW: Nice work Robert!