Fixed issue #2055
Merge branch 'develop' of https://github.com/orientechnologies/orientdb into develop