Fixed concurrency problem on OMVRBTreeRIDSet: it wasn't synchronized. Added new test case