SERVER-13137 Make sure secondary is up to date before querying in sharding_rs2.js