Conditional logic - skip to last page