diff --git a/lib/childTemplates.js b/lib/childTemplates.js
index <HASH>..<HASH> 100644
--- a/lib/childTemplates.js
+++ b/lib/childTemplates.js
@@ -119,11 +119,11 @@ async function evaluateChildTemplates (reporter, request, response, evaluateInTe
       q.folder = null
     }
 
-    let templates = await reporter.documentStore.collection('templates').find(q)
+    let templates = await reporter.documentStore.collection('templates').find(q, request)
 
     if (!templateNameIsPath && q.hasOwnProperty('folder') && templates.length === 0) {
       delete q.folder
-      templates = await reporter.documentStore.collection('templates').find(q)
+      templates = await reporter.documentStore.collection('templates').find(q, request)
     }
 
     let template
add missing req object in queries