[tmp] Safeguard against wrong number of presamples.