diff --git a/core/templates/modals/context.html b/core/templates/modals/context.html
index f005671..5a20c32 100644
--- a/core/templates/modals/context.html
+++ b/core/templates/modals/context.html
@@ -73,7 +73,7 @@
-
Scrollback of {{ channel }} on {{ net }}{{ num }}
+ Scrollback of {{ channel }} on {{ net }}{% if num is not None %}{{ num }}{% endif %}
{% include 'partials/context_table.html' %}
{% if user.is_superuser and source == 'irc' %}