Correct response on failing query
Corrected groupDocuments list definition