fix error caused by wrong field call
Merge pull request #57 from lpand/master

fix error caused by wrong field call inside getindex of TargetIterator