Fix #1927301: correct the dangerous bug.