Revert "hack: revert squash: don't update originaldts when marked as invalid"

This reverts commit 001dbfdefe45a3883e6f7d59525462e97bade4ee.