Fix findTextAlternatives property to not throw TypeError

If the element is an instance of HTMLSelectElement, you want to
reset inputElement to be able to use its value, otherwise the minified version throws TypeError 'f is undefined'