title: Setting MaxLength gives you error
body: <p>Following is one of the property in my MVC model.</p>
  
  <pre><code>[Display(Name = "Event ID")]
  [MaxLength(8, ErrorMessage = "Event ID can be of maximum 8 characters long")]
  [Required(ErrorMessage="Event ID must be entered")]
  public Nullable&lt;int&gt; ID_EVENTO { get; set; }
  </code></pre>
  
  <p>I have bound the model with a View, and when I try to click "Submit" button, it gives following runtime error - </p>
  
  <blockquote>
    <p>Unable to cast object of type 'System.Int32' to type 'System.Array'</p>
  </blockquote>
  
  <p>While, if I remove the "MaxLength" attribute, it starts working.</p>
  
  <p>What could be the issue here?</p>