Revert "Use a strict comparison for setting the selected element in a dropdown"

This reverts commit cdfe1a29e72b6e03fcda784e114d371976a82acc.