title: How to only get first object in template
body: <p>I have the following code, where I get all problem notes.</p>
  
  <pre><code>{% for n in task.task_notes.all %}
      {% if n.is_problem %}
          &lt;li&gt;{{ n }}&lt;/li&gt;
      {% endif %}
  {% endfor %}
  </code></pre>
  
  <p>How would I <strong>only</strong> get the first problem note? Is there a way to do that in the template?</p>