Fixed a bug with values having empty spaces

...when adding bulk radio buttons and checkboxes; thanks
girlwithglasses;