Fixing intersection case in range_set