Undo Bug

Fixed undoing at the start putting both at the start