Undo now uses actual maximums.