Problem with calling a Realm function with realm-web

I’ve run into an anomaly with the realm-web:1.5.1 . This is all part of my blogging project to use Realm and Mongodb showing the use of the same function across different languages ( kotlin, nodejs, rust). In any case, the problem is that my results with realm-web are not the same as with nodejs using the same Realm function.

Here is the log with realm-web:
Logs:
[
“neighborhood: Lower East Side, cuisines: undefined”
]
{
“arguments”: [
[
“Lower East Side”
]
],
“name”: “restaurantsByNeighborhood”
}
Function Call Location:
US-VA
Compute Used:
71161306 bytes•ms
Remote IP Address:
79.182.137.214
SDK:
chrome v1.5.1
Platform Version:
96.0.4664
Rule Performance Metrics:
{
“sample_restaurants.neighborhoods”: {
“no_matching_role”: 0
}
To me this looks like a bug since I deliberately use an api-key so that the user would have to have the same permissions and roles. I get the same results with anonymous credentials. Help…

}
The log with nodejs however is correct (and there is data returned from the call)
Logs:
[
“neighborhood: Lower East Side, cuisines: null”
]
{
“arguments”: [
“Lower East Side”,
null
],
“name”: “restaurantsByNeighborhood”
}
Function Call Location:
US-VA
Compute Used:
261680790 bytes•ms
Remote IP Address:
79.182.137.214
SDK:
darwin vRealmJS/10.8.0
Platform Version:
v16.8.0
Rule Performance Metrics:
{
“sample_restaurants.neighborhoods”: {
“roles”: {
“default”: {
“matching_documents”: 1,
“evaluated_fields”: 0,
“discarded_fields”: 0
}
},
“no_matching_role”: 0
},
“sample_restaurants.restaurants”: {
“roles”: {
“default”: {
“matching_documents”: 150,
“evaluated_fields”: 0,
“discarded_fields”: 0
}
},
“no_matching_role”: 0
}
}