Fix for mongodb error when test_executions collections grows too large. (CYPRESS-337)