SERVER-8113 Shard::containsNode does not check whether ReplicaSetMonitor::get returns null