Fix for "Range" selection of queue.

Not a really good fix.
The code looks identical to the code for selecting files within an NZB (in config.js) , but it has some subtle error.
This is a fix which will work reasonably well.
Should be fixed properly later.
Merge remote-tracking branch 'upstream/0.7.x' into 0.7.x