Fix issue with runranges