Fix error with empty values.

See #28. Fix a error where a empty value was not allowed.