Fixed executoin of percentiles.