Fix issue with 1/2 samples.