Input Translation problem on Search form

I am using a search form to do a full text search (Fill out example form) and the user will fill out Names fields on the form. All the Names fields have ‘Use Address Dialog for Choices’ Also, all Name fields have input translation formulas to convert the name to Common Name (@Name([CN]; AnyName)) and in the Onchange event, I do a uidoc.refresh. The problem is that this code works perfectly on all forms but the Search form? Any help would be appreciated.