Add handling of nil values for collection attributes
Merge pull request #275 from edgibbs/handle_nil_for_collections

Add handling of nil values for collection attributes