title: Exception in template helper: TypeError: Cannot read property '0' of undefined
body: <p>I was working with user accounts in meteor when I started get an error. The error is printed in the console is in my <code>userEmail</code> helper function.
  My question is if it is <code>undefined</code> then why am I getting an output?</p>
  
  <p>My html code:</p>
  
  <pre><code>{{#each user}}
          {{#if student}}
              &lt;div class="row"&gt;
                  &lt;div class="user-wrapper"&gt;
                      &lt;div class="row"&gt;
                          &lt;div class="name-wrapper col-md-3"&gt;
                              &lt;span class="head"&gt;{{profile.firstname}}&lt;/span&gt;
                          &lt;/div&gt;
                          &lt;div class="email-wrapper col-md-3"&gt;
                              &lt;span class="head"&gt;{{userEmail}}&lt;/span&gt;
                          &lt;/div&gt;
                          &lt;div class="email-wrapper col-md-3"&gt;
                              &lt;span class="head"&gt;{{&gt;starsRating mutable=true class="js-rate-images" id=_id}}&lt;/span&gt;
                          &lt;/div&gt;
                          &lt;div class="email-wrapper col-md-3"&gt;
                              &lt;span class="head"&gt;Remark&lt;/span&gt;
                              &lt;button class="btn btn-primary"&gt;Enter Remark&lt;/button&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
      {{/if}}
      {{/each}}
  </code></pre>
  
  <p>My helper functions are:</p>
  
  <pre><code>Template.Users.helpers({
      user: function(){
          return Meteor.users.find();
      },
      userEmail:function(){
          return this.emails[0].address;
      },
      student:function(){
          return this.profile.profession === 'student';
      }
  });
  </code></pre>