Fix using value 0 with intRadioGroupValue

Because 0 is falsy, the if meant to check whether variable is undefined or not
caused the value 0 not to be converted correctly.