Raise invalid response if no documents selected
Merge remote branch 'origin/document_legalisation_updates'