I think this should work so that 1 is the default but the user still gets an exception if they set something like `batchSize=a`