Fix bug in adding or removing tag by region.