Fixed undo for size one program.