Fix an issue with mongos read preferences.