Apply the same fix on the redo()