Fixed search_rec_name method to accept clause as list #6041