Fixed bug with indexes like "1-2".