Fixed bug in select with no options.