A VR refusal doesn't automatically mean the SOWP will be refused. They're assessed separately. Just make sure the visitor record application is submitted before her current status expires so she can benefit from maintained status while waiting for a decision.