use correct zrange query to deal with down hosts