Some gross workarounds until we upgrade nunjucks

Fixes some dropdown-related bugs