Contour at different heights

Hi everyone! I’m trying to contour this brep at different heights, by creating a list with repeat data and entwine, however, the contour goes wrong. Any idea of what might be going on and how to fix it? Thank you!
heights contour.gh (85.1 KB)

maybe you need cap holes and make one solid

could you send me that .gh please? Thank you!!!

heights contour2.gh (85.9 KB)