Fix test_safe_update for mongo 2.5 nightly.