Fixed delete row undo bug for multiple rows

Equation map was not updating correctly.