SERVER-12126: Improve update validation performance