<bm:data-filtername="query"expression="(t1.bp_category = 'TENANT' or exists(select 1 from hls_bp_master_role br where br.bp_id = t1.bp_id and br.bp_category = 'TENANT' and br.bp_type = 'TENANT'))"/>
<bm:data-filtername="query"expression="(t1.bp_category in ('TENANT','AGENT','GUARANTOR'))"/>