Solid intersection fail - leaves empty diagonal set of geometries!

When trying to use the solid intersection to keep the intersecting parts of two set of extruded rectangles, i can get them to almost work by flattening the first set and grafting the second, however this leaves a set of rectangles empty. I am hoping there is a simple fix but i cannot figure it out.
rectangles.gh (17.1 KB)