Adjusted radio validation function