Bug in the RemoveRange method was solved.

Signed-off-by: 80LevelElf <salahutd@gmail.com>