$products_options->fields['products_options_values_name'] != ' ' is not the same as:
$products_options->fields['products_options_values_name'] != ''

You want to test when that field is blank and when blank show nothing ...