Allow ObjectId and Long subclasses in ModifyFields, too