diff --git a/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_utils.py b/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_utils.py
index adbce87669bbe57d4acb0a608ad0ab0b003fa230..c3b7e6555d00f427f70273310ac855c6649fe81d 100644
--- a/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_utils.py
+++ b/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_utils.py
@@ -137,5 +137,5 @@ def hyphenise(vals):
             out.append("-".join([a, b]) if a != b else a)
             a = vals[i + 1]
         b = vals[i + 1]
-    out.append("-".join([a, b]) if a != b else vals[i + 1])
+    out.append("-".join([a, b]) if a != b else vals[-1])
     return ", ".join(out)