Use encodeURIComponent() when checking for values in autocomplete boxes so that & is properly escaped.