Fix & regression test for issue 363: Calling setSelection() after an updateOptions may have no effect