Fixing legend issues with quantiles.