fixes range's getStartPosition/getEndPosition, try #2

see https://github.com/google/closure-library/pull/288