Use slaveOk instead of readPreference.