Issue #2861 was fixed without tests.

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/ORidBag.java
	core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/ORidBagDelegate.java
	core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/embedded/OEmbeddedRidBag.java
	core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/sbtree/OSBTreeRidBag.java
Issue #2861 was fixed without tests.

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/ORidBag.java
	core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/ORidBagDelegate.java
	core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/embedded/OEmbeddedRidBag.java
	core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/sbtree/OSBTreeRidBag.java
Issue #2861 was fixed.
Merge branch '1.7.10' of https://github.com/orientechnologies/orientdb into 1.7.10
Merge remote-tracking branch 'origin/1.7.10' into 1.7.10
Issue  #2857 was fixed.