title: Filter in Django if template tag not working
body: <p>I have almost literally exactly what is in the django <a href="https://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#filters" rel="nofollow">docs</a></p>
  
  <pre><code>{% if things|length &gt; 1 %}
  
      &lt;div&gt;
          &lt;span&gt;Multiple things were found for this search criteria&lt;/span&gt;
          &lt;button&gt;Show All&lt;/button&gt;
      &lt;/div&gt;
  {% endif %}
  </code></pre>
  
  <p>And yet the div is showing up when <code>things|length</code> is 0.</p>
  
  <p>I'm using Django 1.3.1, so I don't know if that's the problem-- I couldn't find that information. It wasn't in the 1.4 release notes, at least.</p>
  
  <p>What the heck is going on? Is this a 1.3 problem, or...?</p>
  
  <p>Edit: really looks like this was introduced in <a href="https://docs.djangoproject.com/en/dev/releases/1.2/#new-in-1-2-smart-if" rel="nofollow">1.2</a> and should be working. So what's the deal?</p>