"Floor.ByOutlineTypeAndLevel" incorrectly created points

Hi.

I want to create a floor with points i get from Civil3D.
I’m using the points without heights to create “PolyCurve.ByPoints” which i need for “Floor.ByOutlineTypeAndLevel”.

My problem now is that some points are incorrectly.

After the creation of the floor i want give it some heights from the same points i used before.

But because of the incorrect created points i now have a falty floor.

Does anyone know what the problem is?
Or is it possible to delete the points with the wrong height?

I’m using Revit 2021 and Dynamo 2.6.