Ensuring that we never delete a range that is invalid.