Fix dangle behavior on search form (Search tag handler).