Bug fix: getDiff did not work correctly for MongoProvider.fields.