Fixed result-selected class being added to more than one option after the first use of the drop down.



The result-selected class can be sometimes used to hide the currently selected option to avoid redundancy in the options being shown in single mode. But because of the issue that this change fixes it is sometimes added to two options - the current and the previously selected one.