isModified, empty object check [bugfix]

Throw exceptions in next situation:

CollectionName.update(someId, { $set: { nonexistentKey: anyValue } });

Otherwise object will be updated to { "_id": "someId" }
In other words, object will be rewritten by empty object.