fix: make sure percentile and median do not segfault
fix: make sure percentile and median do not segfault

maartenbreddels/vaex,maartenbreddels/vaex,maartenbreddels/vaex,maartenbreddels/vaex,maartenbreddels/vaex,maartenbreddels/vaex