Fixes for properly picking nearest server for all read preferences #878