fixed document reset wrongly run deserialize
Merge branch '1.7.8' of github.com:orientechnologies/orientdb into 1.7.8