Upgraded the syntax for range indexes to the latest one.
Merge pull request #35 from claudius108/master

Upgraded the syntax for range indexes to the latest one