move check for valid sample number first
move check for valid sample number first

lantus/openbor,rofl0r/openbor,rofl0r/openbor,rofl0r/openbor,lantus/openbor,lantus/openbor,lantus/openbor,rofl0r/openbor