Host Boundary Profile - null plane or empty curves

Hi, when using the Host Boundary Profile to extract the profile curves of some walls in revit, some outputs are invalid. When I reset the profile of one of the walls, then this wall no longer has any outputs. Does anyone know what might be causing this issue?

I am using Revit 2022.1, and Rhino.Inside 1.18

Wall Profile.rvt (6.8 MB)
Wall Profile.gh (7.1 KB)

Only the edited wall has a sketch profile associated with it. The unedited wall doesn’t have a profile.