carving: fix preprocessing redo bug. fixes #354.