title: django ifequal casting issue
body: <p>i have in my template:</p>
  
  <pre><code>    &lt;select name="meetingTimeDay"&gt;
      {% for k in days2 %}
        &lt;option value="{{ forloop.counter0 }}"{% ifequal c.meetingTime|date:"w", forloop.counter0 %}selected="selected"{% endifequal %}&gt;{{ k }}&lt;/option&gt;
      {% endfor %}
      &lt;/select&gt;
  </code></pre>
  
  <p>where days2 is:</p>
  
  <pre><code>days2 = ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday')
  </code></pre>
  
  <p>but the ifequal doesn't work. i render out both forloop.counter0 and meetingTime|date:"w" and 1 day WILL match visually. I think it may be a casting problem.</p>
  
  <p>any ideas?</p>