Fix PURAP Workflow for compatibility

Handle new tab toggling gracefully.