Dropdown: Fixes issue where last matching item was found, without prioritizing value over text #502