Merge pull request #1707 from megawac/from-fix

lastIndexOf: Positive fromIdx fix