diff --git a/opentech/apply/funds/templates/funds/submissions.html b/opentech/apply/funds/templates/funds/submissions.html
index dce637a3a2b414b4adbb2bb203f144c98cb5de21..197f268dd4fabddfe2051e752db200cf635405cf 100644
--- a/opentech/apply/funds/templates/funds/submissions.html
+++ b/opentech/apply/funds/templates/funds/submissions.html
@@ -2,6 +2,10 @@
 {% load render_table from django_tables2 %}
 {% block title %}Submissions{% endblock %}
 
+{% block extra_css %}
+    {{ filter.form.media.css }}
+{% endblock %}
+
 {% block content %}
 <div class="admin-bar">
     <div class="admin-bar__inner wrapper--search">
@@ -50,5 +54,5 @@
 {% endblock %}
 
 {% block extra_js %}
-    {{ filter.form.media }}
+    {{ filter.form.media.js }}
 {% endblock %}
diff --git a/opentech/settings/base.py b/opentech/settings/base.py
index fe9ac09d111841c91408a2e6d9314b0a31286658..84819241456c4a0b65a4e965699ec125d228975b 100644
--- a/opentech/settings/base.py
+++ b/opentech/settings/base.py
@@ -546,6 +546,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
 if 'SECURE_HSTS_SECONDS' in env:
     try:
         SECURE_HSTS_SECONDS = int(env['SECURE_HSTS_SECONDS'])
+    except ValueError:
         pass
 
 if env.get('SECURE_BROWSER_XSS_FILTER', 'true').lower().strip() == 'true':
diff --git a/opentech/settings/production.py b/opentech/settings/production.py
index 0ecfc47c70ee824a187c76a54da64c150750719a..4c4978cc6d15502fbf0adca40180ea4f7f71e5bb 100644
--- a/opentech/settings/production.py
+++ b/opentech/settings/production.py
@@ -24,8 +24,3 @@ if 'MAILGUN_API_KEY' in env:
 
 
 django_heroku.settings(locals())
-
-try:
-    from .local import *  # noqa
-except ImportError:
-    pass