bugfix for MaxItems (dont use chunk size for counting)