(ITS#8359) [test] Issues with sorted duplicate DBs with cursor delete