Moved get_ranges into RouteList. Fixed get_ranges by handling only host group route list.