diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html
index 09326b5..d927b9f 100644
--- a/ogcp/templates/macros.html
+++ b/ogcp/templates/macros.html
@@ -47,7 +47,7 @@
{% endif %}
- {% if not scope["scope"] %}
+ {% if "state" in scope %}