Fixing off by one error in TS sourcespan