Fixed bug as reported by Seppi, the remove was not working with ranges.