Fixing object array indexing issue
Merge pull request #268 from rzlee/master

Fixing object array indexing issue