Fixed #1074 where .html() was incorrectly changing the selected value of an option.