Fixing IndexOutOfRangeException using Fluent API.
Merge pull request #11 from emmekappa/master

Fixing IndexOutOfRangeException using Fluent API.