Bug in jQuery.val() in beta 1.4a2

Bug in jQuery.val() in beta 1.4a2

Hi,
I have found a bug in the jQuery.val() function. When you are trying
to set the value of a select to a particular value, jQuery goes
through all of the options in the list and checks their value and text
properties for the passed value, checking the matched item. In jQuery
1.4, this looks like it has been optimized from the following in
jQuery 1.3.2 on line 471:
this.selected = (jQuery.inArray( this.value, values ) >= 0 ||
                         jQuery.inArray( this.text, values ) >= 0);
to the following in jQuery 1.4:
this.selected = jQuery.inArray( this.value || this.text, values )