Conditional logic + tab - make sure correct tab is triggered

Signed-off-by: Elliot Condon <e@elliotcondon.com>
Same as previous

Signed-off-by: Elliot Condon <e@elliotcondon.com>