Allows blank units when editing DataSets.

[#42158297]
Returning nil instead of '' in to_hash