Fixing a bug in the radio helper, in which it broke when using unusual HTML attributes, e.g. Angular.js ng-change