fixed 'range' feature, which was misbehaving.
Merge pull request #3 from coffee-n-code/master

Merge pull request #3 from rodrev/master
Merge pull request #4 from rodrev/master

fixed range feature :)