Fix Range#each to never include a value out of bounds.
Merge pull request #374 from DouweM/patch-2

Fix Range#each to never include a value out of bounds.