Fixes nunjucks compat reference to undefined obj