archText) || app.client_id.toLowerCase().includes(searchText) ||
                            (app.graph_api_permissions.some(perm => perm.toLowerCase().includes(searchText)))) &&
                        (!authFlowFilter || (app.auth_code && authFlowFilter === 'AuthCode') || (app.device_code && authFlowFilter === 'DeviceCode') || (app.brk_refresh && authFlowFilter === 'BrkRefresh')) &&
                        (!fociFilter || (app.foci && app.foci.toString().toLowerCase() === fociFilter.toLowerCase())) &&
   