Fix for selectRange