diff --git a/modules/templates/datasources/letterbox_attachment.php b/modules/templates/datasources/letterbox_attachment.php
index 0598e1551876cb9e0059728d7259132f534365d2..fd1d309ffeeb1cc3cdf4417a0b999e43c6ac4f32 100755
--- a/modules/templates/datasources/letterbox_attachment.php
+++ b/modules/templates/datasources/letterbox_attachment.php
@@ -42,6 +42,9 @@ if (!empty($res_id)) {
     AND a.parent_entity_id = b.entity_id', array($doc['initiator']));
     $initiator = $stmt2->fetch(PDO::FETCH_ASSOC);
 
+    \SrcCore\models\DatabasePDO::reset();
+    new \SrcCore\models\DatabasePDO(['customId' => $_SESSION['custom_override_id']]);
+
     if (!empty($initiator)) {
         foreach ($initiator as $column => $value) {
             $doc['initiator_'.$column] = $value;