Fix to defect whereby wrong range is chosen for slicing.
Merge branch 'master' of git@github.com:DawnScience/dawn-ui.git