better/stricter fromIndex
Merge pull request #51 from codemix/fix-from-index

better/stricter fromIndex