Fixes for range issues
WrapperTask compatibility with the range module