I wondered if I was having problems due to the if statements being positioned above the update behaviour code, so I put it below the update behaviour.
Unfortunately I am still having the same problem where the page is only being redirected if all radio buttons are ticked as a Yes, however I am now being redirected to application_6.php rather than thank_you2.php....