Minor fix in error recovery.