change (filter_arr) OR into AND in getAccounts function