I need to find a way to remove Loops or Knots when a user saves a new edit. These polygons that I create are sent to as boundries for images to be gathered and some are being rejected because of these self intersecting loops. They are not self intersecting as they dont have self intersections as two vertices are added. I need a way to either find the loop/knot or remove it automatically. My removing self intersection code doesn't seem to fix this issue. It appears I need to remove the loop entirely.

protected void RemoveSelfIntersections()
{
try
{
Geometry originalShape = _dataInspector.Shape;
if (!GeometryEngine.Instance.IsSimpleAsFeature(originalShape))
{
Geometry intersectionShape = GeometryEngine.Instance.SimplifyAsFeature(originalShape, true);
}
}
catch (Exception e)
{
}
}