         }
         
         self.updateSequence(element, sequence: toIndex)
+        indices.append(fromIndex)
+        
+        return indices
     }
     
     /// A concatenation of all procedure element commentaries.

        }
        
        self.updateSequence(element, sequence: toIndex)
    }
}


            }
        } else {
            for i in fromIndex.advanced(by: 1)...toIndex {
                indices.append(i)
                let formulaElement = elements[i]
                let newSequence = i - 1
                self.updateSequence(formulaElement, sequence: newSequence)
