Fixes `parser.clean()` reported in issue #16820.
3 files changed