Actually fixes quartile calculation