Fix problems with tabarray and minItems