TEIID-2988: Fixing the  for zero based index
TEIID-2988: Fixing the  for zero based index
Merge pull request #370 from rareddy/TEIID-2988

Teiid 2988