Microvellum Community

Bad G-Code results

We have been getting some bad g-code results lately. In the attached, the first panel is the current (original) nesting setmill modifications and what I think it needs to change to. The center panel is the results without any custom modification. Line 7 is correct for what the last line in the original code is trying to do. In the 3rd panel is the result I am getting. I think that the 2nd line in the original code is changing the G90 to M15. After the change from G90 to M15, the last line is not finding what it is looking for and makes no changes. With that said, does the change I suggest in the first panel look correct?