Correctly handle undershoot/overshoot in mfrange (thanks, AL).
Correctly handle undershoot/overshoot in mfrange (thanks, AL).

ksmaheshkumar/scripts-3,ksmaheshkumar/scripts-3,ksmaheshkumar/scripts-3,ksmaheshkumar/scripts-3,ksmaheshkumar/scripts-3,ksmaheshkumar/scripts-3