fix(contracts): Fix 500 error on contract creation if documents field is None

dmitry.mashoshin requested to merge mashony/94/fix-contract-creation into master

Merge request reports