Shapes are not connected properly when there are several level of groups

Create two rectangle shapes which are part of a group(group level 1). Each of these group are part of a parent group(group level2).
Create a connector and connect the rectangles. When the diagram is opened, the connector is not connected to rectangles. Move one of the rectangle, and the connector is displayed properly.
When the rectangles are grouped on a single level (the group level 2), the connector is diplayed properly.
What I am missing here ?

// add child shape 1
long shapeId1 = page.DrawRectangle(2, 3, 2, 1);
Shape shape1 = page.Shapes.GetShape(shapeId1);

Aspose.Diagram.Shape[] ss = new Aspose.Diagram.Shape[1] { shape1 };

Shape group1 = page.Shapes.Group(ss);
ss = new Aspose.Diagram.Shape[1] { group1 };
//create group parent
Shape groupParent1 = page.Shapes.Group(ss);

// add child shape 1
long shapeId2 = page.DrawRectangle(5, 3, 2, 1);
Shape shape2 = page.Shapes.GetShape(shapeId2);

ss = new Aspose.Diagram.Shape[1] { shape2 };
Shape group2 = page.Shapes.Group(ss);
//create group parent
ss = new Aspose.Diagram.Shape[1] { group2 };
Shape groupParent2 = page.Shapes.Group(ss);

//create connector
string masterName = “Dynamic connector”;
diagram.AddMaster(stencilFile, masterName);
long connectorId = diagram.AddShape(0, 0, masterName, 0);
Shape connector = page.Shapes.GetShape(connectorId);

page.ConnectShapesViaConnector(shape1, ConnectionPointPlace.Right, shape2, ConnectionPointPlace.Left, connector);

@zkormos
Thanks for the sample code.
For the sake of detailed investigation,We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): DIAGRAMNET-53255

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as DIAGRAMNET-53255) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou