fix field to handle null values properly
Merge pull request #4 from simpleenergy/fix_to_allow_nullability

fix field to handle null values properly