diff --git a/src/events/intro/introSummary.tw b/src/events/intro/introSummary.tw
index b2e50cff8fed9335329c19979a9e0a47d6de42a9..4ff9f8ae65f73d4686e742aca3fafd70b195f2eb 100644
--- a/src/events/intro/introSummary.tw
+++ b/src/events/intro/introSummary.tw
@@ -76,9 +76,11 @@ You are using standardized slave trading channels. [[Customize the slave trade|C
 	<</if>>
 	<br style="clear:both" /><hr style="margin:0">
 	<<set _len = Object.keys($nationalitiescheck).length>>
+	<<set _j = 0>>
 	<<for _nation, _i range $nationalitiescheck>>
 		<<print _nation>> @@.orange;<<print (($nationalities[_nation]/hashSum($nationalities))*100).toFixed(2)>>%@@
-	<<if _i < _len-1>> | <</if>>
+		<<set _j++>>
+		<<if _j < _len>> | <</if>>
 	<</for>>
 	<br style="clear:both" /><hr style="margin:0">
 <</if>> /* closes $customVariety is defined */
diff --git a/src/pregmod/basenationalitiesControls.tw b/src/pregmod/basenationalitiesControls.tw
index d2b378ca8f14ccf01f93e46a4003be574cf73c0b..680769a7e3ce3696df808b923763d35ae411114b 100644
--- a/src/pregmod/basenationalitiesControls.tw
+++ b/src/pregmod/basenationalitiesControls.tw
@@ -20,9 +20,11 @@
 /* Prints distribution of $nationalities, using $nationalitiescheck to render array */
 <<set _percentPerPoint = 100.0 / hashSum($nationalities)>>
 <<set _len = Object.keys($nationalitiescheck).length>>
+<<set _j = 0>>
 <<for _nation, _i range $nationalitiescheck>>
 	_nation @@.orange;<<= ($nationalities[_nation] * _percentPerPoint).toFixed(2)>>%@@
-	<<if _len != 0>> | <</if>>
+	<<set _j++>>
+	<<if _j < _len>> | <</if>>
 <</for>>
 <<unset _percentPerPoint>>
 <br><br>