Fix calculation errors introduced by batch-setting fields. Tweak pallet packing sheets to exclude categories that aren't allocated and to detect when to page break more accurately.