Fixed bug - Now setting sampleid to 0 resets the samples vector