Urgent fix for null dates in COGS
Merge pull request #354 from einhverfr/1.4

Urgent fix for null dates in COGS