Fix RangeController bug with empty content.