Fixed problem getting not last input[type=radio]

If checked not last radio, then value replaced for null.
Pull request fixed this problem.