Corrected small bug in select widget.