Fixes AddElementToDiagram function when fe is LoopConditionElement