closes #944, make oplog_upgrade.js more stable