I found the answer by pulling my hair a little:
task $(task uuids due.before:now) delete
did the trick.
This worked because no matter what the date was, the completed tasks did not have a due date in the future, so this command left my current new tasks with deadlines intact.
source share