Made range selectors select X range, couple of fixes in alg

Refs #7860