Fixing default values bug for radio and check boxes