Ensure variable is nullable if empty string before
Merge pull request #106 from bjornpost/fix-domainobject-set

Make sure variable can be set to NULL if empty string before