Fixed problem on restart of Orient instance