Split Mesh not working

Hi! Im trying to cut out my meshes from the area between two planes (actually I would like surfaces due to limited cutting range, but I can’t make it work).
I can’t cut properly Mesh 3, and sometimes Mesh 4. I tried rebuilding mesh, which helped for a while but then I changed parameters and it messed up again.

Input meshes with cutting surfaces:

Output Mesh Split:

Script:


mesh_split_problem.gh (2.0 MB)