diff --git a/Hlt/Moore/python/Moore/lines.py b/Hlt/Moore/python/Moore/lines.py
index 05e5440fcc28bfa6cf62604e9b750eafc16ee7d6..3efc2d3368ce6b35648664b147dff317eb63e8d6 100644
--- a/Hlt/Moore/python/Moore/lines.py
+++ b/Hlt/Moore/python/Moore/lines.py
@@ -524,10 +524,12 @@ class Hlt2Line(DecisionLine):
                 "ParticlesSelection" if output_type == "Particles" else output_type
             )
 
-            if prefix == "" and output in prdict.values():  # for selective reco case
+            if prefix == "" and str(output) in map(
+                str, prdict.values()
+            ):  # for selective reco case
                 entry_new = [
                     prefix,
-                    [k for k, v in prdict.items() if output == v][0],
+                    [k for k, v in prdict.items() if str(output) == str(v)][0],
                     output_type,
                     "reco",
                 ]
@@ -599,6 +601,7 @@ class Hlt2Line(DecisionLine):
 
             if prefix:
                 additional_outputs.append((output, (decision_node.name, prefix)))
+            ## Why is the below not an issue?
             elif output in prdict.values():
                 additional_outputs.append((output, None))
             else: