Adding code to setup intended replica set config doc so it keeps ids consistent and increments the version number.