Realm - DeleteMany() takes a long time

Hi, I am using the Realm Web SDK to run an app in the front-end. Whenever I have a collection that has over 300 records and I run let’s say “collection.deleteMany(query)” on that collection. I get this error “Request Failed Execution time limited exceeded”.

After that I notice, let says if I originally had 510 records roughly 300 of them gets deleted. Is there a way to handle this without implementing this with the MongoDB Nodejs driver?

Check the console on the right hand side