Fix range infinite loop