Fix a weird case in parse error handling.