SERVER-11044 Expose BSONObj::wocompare to mongo shell
SERVER-9371 addTagRange should prevent min and max being the same