fixed OrientDS issue [#1027](https://github.com/nuvolabase/orientdb/issues/1027)