Fixes #765 Now possible to set the option value to an empty string.

The issue occurs when adding an empty string as an option value, previously the value would be set to be the same as the label, now with the fix below it is set to be the empty string value that was intended.