diff --git a/webapp/templates/jury/problems.html.twig b/webapp/templates/jury/problems.html.twig
index 5dd4c6343b..64ae88e304 100644
--- a/webapp/templates/jury/problems.html.twig
+++ b/webapp/templates/jury/problems.html.twig
@@ -14,9 +14,9 @@
Problems in contest {{ current_contest.name }}
{% if problems_current is empty %}
There are no problems in this contest.
+ {% else %}
+ {{ macros.table(problems_current, table_fields) }}
{% endif %}
-
- {{ macros.table(problems_current, table_fields) }}
{% endif %}
{% if problems_other is not empty %}