Fix all the change commands correctly handle repeat command and last insertion point