Fix random distribution on quote lookup.