Hi, thanks so much for catching this!
It appears that there was an incomplete backport of some bulk operations related code from 4.0 to 3.6 that caused duplicate loops over the result array.
We created the following ticket to track the fix: NODE-3309.
Best regards,
Daria