Fix removing ranged transfer if content modified