Fix return at quickselect