[#3614837]Fix incorrect terminal config statement parsing.