Steps to Reproduce: (tested on Vector and Monobook, should not depend on skin) Select English language (for this example), open any file, add any property and search for “Universe”. Q1 should appear first. Click from the other results on Q50816190 or Q69170 or any other element with an exactly same label. This does not work when the label is different, including different capitalisation.
Actual Results: Q1 is chosen instead of the selected element (more generally, it is the first element in the search results with the same shown label).
Expected Results: The selected label be set as the value for the statement