Fixed a couple of small problems with the dualselect for bug #8365.