Moved Quantile panic behavior into the switch case