Fix SampleID sticking at 1000 unless sound is null.