Remove some unneeded ranges