Fix bug with return between sci_undo*\n\nreturn between sci_undo transaction will break undos completely