refVersion is out of sync by 1 for each version. This happens becuase th...

refVersion is out of sync by 1 for each version. This happens because the origin documents version number is not incremented until after the mongose pre save hook is run.

Incrementing the versionCopy's refVersion (if not zero) mimics the behaviour and caused the version number to correctly sync up.