Fix range when step and (stop - start) are both negative