ParserLib: fixed IndexSpan construction in NewObject