Fix tenants search endpoint