When I set data-selected to true on a dropdown list item, the wrong list item gets selected, as shown here: 