Use OR clause in search_rec_name of party and address

issue3706
review3751002