Fix isLast check when Wizard has confirm page