Fix quantile strategy when the number of unique values is less or equal to the quantile parameter