fix https://github.com/nuvolabase/orientdb/issues/1226