Fixed checking of radio button.