[validate] for a submittable document, validate if it is linked to a cancelled document

Thanks to @adityaduggal for reporting this
Merge pull request #748 from anandpdoshi/anand-august-5

[validate] for a submittable document, validate if it is linked to a cancelled document