Fix error setting combo box if currentText is not a string.