fix for incorrect selection on focusOut

Before this fix, the behavior was as follows:

Type in ‘A’, bring up results A1, A2, A3
Click A3
Focus out
Result: A1 selected because of the first option auto-select behavior on input

This fix clears out the auto-selected option when another option is explicitly selected.

Also addresses an unrelated issue with referencing a possibly destroyed element.