Fix bad reference to exception class in ReadPreference