Trim history when process is resumed.