Fixed the 'off by one plate' error when entering samples to generate
plates.